# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-qt.py
pkgver=1.3.8
pkgrel=1
pkgdesc="Minimal Python 2 & 3 shim around all Qt bindings"
url="https://github.com/mottosso/Qt.py"
arch="noarch !armhf" # no py3-qt5 on armhf
license="MIT"
depends="python3 py3-qt5 py3-setuptools"
checkdepends="py3-nose py3-six"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/mottosso/Qt.py/archive/$pkgver.tar.gz"
builddir="$srcdir/Qt.py-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 tests.py
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
3d584e1574bbb9458847e44ab4c901cc134d1669c549cfff3c8ac391f3dca87f48166e874305febb5092dea0d8baa58bd66fae71c100aa9b29b089502d341f71  py3-qt.py-1.3.8.tar.gz
"
